import http from '@/api/index'

export function login(data) {
  return http({
    url: '/login',
    method: 'post',
    data
  })
}